ThreadLocalFormatCache
class ThreadLocalFormatCache(val capacity: Int = 20, baseCacheFactory: () -> FormatCache = { DefaultFormatCache() }) : FormatCache
Native implementation of a format cache using threadLocals. Note that this uses a fifo queue of caches (up to capacity count) and it will evict the oldest element (independent of usage)
Functions
Link copied to clipboard
open override fun lookupDescriptorOrStore(overridenSerializer: ERROR CLASS: Symbol not found for KSerializer<*>??, serializerParent: SafeParentInfo, tagParent: SafeParentInfo, canBeAttribute: Boolean, defaultValue: () -> XmlDescriptor): XmlDescriptor
Link copied to clipboard
open override fun lookupTypeOrStore(namespace: ERROR CLASS: Symbol not found for Namespace??, serialDesc: ERROR CLASS: Symbol not found for SerialDescriptor, defaultValue: () -> XmlTypeDescriptor): XmlTypeDescriptor
open override fun lookupTypeOrStore(parentName: ERROR CLASS: Symbol not found for QName, serialDesc: ERROR CLASS: Symbol not found for SerialDescriptor, defaultValue: () -> XmlTypeDescriptor): XmlTypeDescriptor